﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Text;
using ExtAspNet;

namespace HY.WEB.SA
{
    public partial class _pubtel_view : PageBase
    {
        public string whe = "", stype = "";
        public string us ,bh;
        protected void Page_Load(object sender, EventArgs e)
        {  
            us=Session["ID"].ToString();
            if (!IsPostBack)
            {
                if (!string.IsNullOrEmpty(Request["bh"]))
                {
                    bh = Request["bh"].ToString();

                    fill(bh);
                }
            }
        }

        private void fill(string bh)
        {
                 
          DataTable dt=  BLL.Bllbase.get_table("pub_tel","bh='"+bh+"'");
          Grid2.DataSource = dt;
          Grid2.DataBind();

        }

        protected void Window1_Close(object sender, EventArgs e)
        {
            //Alert.Show("修改完成 ");
            PageContext.RegisterStartupScript(ActiveWindow.GetHideReference());
        }

    
    }
}
